Use GREP, not grep
authorMatthias Clasen <mclasen@redhat.com>
Sun, 27 Jun 2010 02:35:56 +0000 (22:35 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 27 Jun 2010 02:35:56 +0000 (22:35 -0400)
As reported in bug 621927

gtk/Makefile.am

index 502720952d41b67641d68ba26abd13e8c0b27eb2..05bf20143582e3ac3abe21dc943f4255f62adfd7 100644 (file)
@@ -815,9 +815,9 @@ gtktypebuiltins.c: @REBUILD@ $(gtk_public_h_sources) gtktypebuiltins.c.template
 gtktypefuncs.c: @REBUILD@ $(top_srcdir)/gtk/*.h $(top_srcdir)/gdk/*.h Makefile
        echo '#include <gtk/gtk.h>' > xgen-gtfsrc.c && \
          ${CPP} $(DEFS) $(INCLUDES) -DGTK_ENABLE_BROKEN $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) xgen-gtfsrc.c | \
-         grep -o '\bg[td]k_[a-zA-Z0-9_]*_get_type\b' | \
+         $(GREP) -o '\bg[td]k_[a-zA-Z0-9_]*_get_type\b' | \
          sort | uniq | \
-         sed '{ s/^/*tp++ = /; s/$$/();/; }' > xgen-gtf \
+         $(SED) '{ s/^/*tp++ = /; s/$$/();/; }' > xgen-gtf \
        && cp xgen-gtf $@ && rm -f xgen-gtf
 gtktestutils.c: gtktypefuncs.c